{% extends "shop/base.html" %}  <!-- 继承自 shop 目录下的 base.html 模板 -->

{% block title %}  <!-- 定义标题块 -->
    Faild  <!-- 标题内容为 "Faild" -->
{% endblock %}

{% block content %}  <!-- 定义内容块 -->
	<h1>Sorry</h1>  <!-- 显示一级标题 "Sorry" -->
    <p>You want {{ quantity }} {{ product }}, but we have only {{ stock }} {{ product }}. Please wait the stock buildup.</p>
    <!-- 显示一段文本，内容为 "You want [quantity] [product], but we have only [stock] [product]. Please wait the stock buildup."，其中 [quantity]、[product] 和 [stock] 是动态变量 -->
    <a href="{% url 'shop:product_list' %}">•Return to the home page</a>

    <!-- 创建一个链接，指向名为 'shop:product_list' 的 URL，链接文本为 "•Return to the home page" -->
    <p></p>  <!-- 空段落，用于布局 -->
    <a href="{% url 'orders:orders' %}">•Show all your orders</a>
    <!-- 创建一个链接，指向名为 'orders:orders' 的 URL，链接文本为 "•Show all your orders" -->
{% endblock %}